<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib uri="http://displaytag.sf.net" prefix="display"%>
<%@ page import="com.noteit.bean.*"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>NoteIT -Modify-</title>
<link href="${pageContext.request.contextPath}/css/main.css" rel="stylesheet" type="text/css">
<link href="${pageContext.request.contextPath}/css/style.css" rel="stylesheet" type="text/css" />
<link href="${pageContext.request.contextPath}/css/main.css" rel="stylesheet" type="text/css">
<link href="${pageContext.request.contextPath}/css/displaytag_manage.css" rel="stylesheet" type="text/css" />
<link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath}/css/jscal2/jscal2.css" />
<link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath}/css/jscal2/border-radius.css" />
<link id="skin-steel" title="Steel" type="text/css" rel="alternate stylesheet" href="${pageContext.request.contextPath}/css/jscal2/steel/steel.css" />
<link id="skinhelper-compact" type="text/css" rel="alternate stylesheet" href="${pageContext.request.contextPath}/css/jscal2/reduce-spacing.css" />
<script language="JavaScript" src="${pageContext.request.contextPath}/js/jquery-1.4.4.min.js"></script>
<script language="JavaScript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery.validate.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery.metadata.js"></script>
<script src="${pageContext.request.contextPath}/js/jscal2/jscal2.js"></script>
<script charset="utf-8" src="${pageContext.request.contextPath}/js/jscal2/lang/en.js"></script>
<style type="text/css">
	.style1 {
		font-family: Verdana, Arial, Helvetica, sans-serif
	}
	#pkilogin {
		color: #F00;
		text-decoration: underline;
		text-align: center;
	}
</style>
</head>
<body>
<div id="grailsLogo"><a href="#"><img src="${pageContext.request.contextPath}/images/grails_logo_t.jpgx" alt="WORDS POOL" border="0" /></a></div>
<jsp:include page="/menus_general.jsp"></jsp:include>
<br><br>
<div class="path">PATH：NoteIT &gt; WordsPool &gt; Delete History &gt; Delete Detail</div>


<div class="body">
<!-- end of Tabs--> 

<div id="errMsg">
<font color="red">
<ul></ul>
</font>
</div>

<!-- end of Tabs-->
<div class="body">
<h1>Delete Detail</h1>

<div class="dialog">
<form ACTION="ModifyNoteitAction.do" METHOD="POST" name="form1" id="form1" enctype="multipart/form-data">
<input type="hidden" name="checkDataIsNew" id="checkDataIsNew" value="N" />
<table width="800">
  <s:hidden theme="simple" name="id" id="id" value="%{ni.id}"/>
  <s:hidden theme="simple" name="createdate" id="createdate" value="%{ni.createdate}"/>
  <tr>
    <th>ID：</th>
    <td width="50" >
      <s:textfield theme="simple" name="id" id="id"  size="100" value="%{ni.id}" maxlength="100" readonly="true" />
    </td>
  </tr>
  <tr>
    <th>English：</th>
    <td width="50" >
      <s:property  value="%{ni.englishE}"/>
    </td>
  </tr>
  <tr>
    <th>音譯：</th>
    <td width="50" >
      <s:property  value="%{ni.english}"/>
    </td>
  </tr>
  <tr>
    <th>繁體中文：</th>
    <td width="50" >
      <s:property value="%{ni.chinese}"  />
    </td>
  </tr>
  <%-- <tr>
    <th>简体中文：</th>
    <td width="50" >
      <s:property  value="%{ni.chineses}" />
    </td>
  </tr> --%>
  <tr>
    <th>ひらがな：</th>
    <td width="50">
      <s:property value="%{ni.japanese}" />
    </td>
  </tr>
  <tr>
    <th>カタカナ：</th>
    <td width="50">
      <s:property value="%{ni.japaneses}" />
    </td>
  </tr>
  <tr>
    <th>詞性：</th>
    <td width="50">
      <s:property value="%{ni.property}" />
    </td>
  </tr>
  <tr>
    <th>Sentence：</th>
    <td width="50">
      <s:property value="%{ni.sentence}" />
    </td>
  </tr>
  <tr>
    <th>Location：</th>
    <td width="50">
      <s:property value="%{ni.location}"/>
    </td>
  </tr>
  <tr>
    <th>Importance：</th>
    <td width="50">
      <s:property value="%{ni.importance}"  />
    </td>
  </tr>
  <tr>
    <th>Create Date：</th>
    <td width="50">
      <s:property value="%{ni.createdate}" />
    </td>
  </tr>
  <tr>
    <th>Update Date：</th>
    <td width="50">
      <s:property value="%{ni.updatedate}" />
    </td>
  </tr>
  <tr>
    <th>Delete Date：</th>
    <td width="50">
      <s:property value="%{ni.deletedate}" />
    </td>
  </tr>
  <tr>
    <th>Picture：</th>
    <td width="152">
      <c:choose>
        <c:when test="${ni.picture == null}">
			There is no Image to display
        </c:when>
        <c:otherwise>
            <s:hidden theme="simple" name="picture" id="picture" value="%{ni.picture}" />
            <img src="/NoteITService/showImageServlet?id=${ni.picture}">
      		<br/>
      		
        </c:otherwise>
      </c:choose>
    </td>
  </tr>
  <tr>
    <td align="center" colspan="6">
    <!-- <input type="button" value="Recovery" onClick="document.location.reload(true)" class="buttonBlue"/> -->
    <input type="button" value="Cancel" onClick="document.location.href='${pageContext.request.contextPath}/noteit/WordsPoolDelHistoryAction.do'" class="buttonBlue"/>
    </td>
  </tr>
</table>

</form>
</div>
</div>
</div>
</body>
</html>
 